CREATE TABLE [dbo].[ProcedureSubCategory]
(
[SubCategoryID] [nvarchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[SubCategoryDescription] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[CategoryID] [nvarchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[IsDisabled] [bit] NOT NULL CONSTRAINT [DF_ProcedureSubCategory_IsDisabled] DEFAULT ((0)),
[Remark] [nvarchar] (250) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ProcedureSubCategory] ADD CONSTRAINT [PK_ProcedureSubCategory] PRIMARY KEY CLUSTERED  ([SubCategoryID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ProcedureSubCategory] ADD CONSTRAINT [FK_ProcedureSubCategory_ProcedureCategory] FOREIGN KEY ([CategoryID]) REFERENCES [dbo].[ProcedureCategory] ([CategoryID])
GO
